The maximum instruction length for both x86-32 and
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 11 Apr 2006 09:44:07 +0000 (10:44 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 11 Apr 2006 09:44:07 +0000 (10:44 +0100)
commit4878a87b440b782f2753f217c3e37d959717023a
treefa441d09b00baf7323cef152b2d54cd879870f50
parentf65a2c89be92aadb157ef225864322174a3d51e4
The maximum instruction length for both x86-32 and
x86-64 is 15 bytes (including all prefixes, opcode,
ModRM, SIB, displacement, and immediate bytes).
This patch adjusts the MAX_INST_LEN to the correct
value.  This should reduce the size of some variables
in the hypervisor code.  This patch also does some
minor code clean-up in the vm exit handler for VMX.

Signed-off-by: Khoa Huynh <khoa@us.ibm.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/io.h